package org.hxzon.workeasy.service;

import java.util.List;

import org.hxzon.project.ModelService;
import org.hxzon.workeasy.model.EasyJob;

public interface EasyJobService extends ModelService<EasyJob> {

    public List<EasyJob> findAllJob(String username, long first, long size);

    public List<EasyJob> findThisHourJob(String username, long first, long size);

    public List<EasyJob> findTodayJob(String username, long first, long size);

    public List<EasyJob> findJob(String username, int year, int month, int date, int hour, int minute, long first, long size);

    public long countAllJob(String username);

    public long countThisHourJob(String username);

    public long countTodayJob(String username);

    public long countJob(String username, int year, int month, int date, int hour, int minute);
}
